CVE-2026-75062: Eval Injection in google/langfun via default lf.query protocol

Published Aug 26, 2026
·
Updated

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in the default lf.query Python protocol in Google langfun versions prior to 0.1.2 allows remote unauthenticated attackers to execute arbitrary Python code in the context of the host application via crafted prompt inputs that cause the model to generate executable Python expressions evaluated without a sandbox.

Affected Software

1 affected component
Google langfun<0.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade google/langfun to a version that resolves this vulnerability.

    Fixed in 0.1.2

Event History

Aug 26, 2026
CVE Published
via MITRE·02:50 PM
Data Sourced
via MITRE·02:50 PM
DescriptionWeakness
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using Google langfun versions prior to 0.1.2 with the default lf.query Python protocol are exposed. The vulnerable behavior evaluates model-generated Python expressions in the host application's context.

2

What does an attacker need to exploit it?

An attacker only needs to be able to provide crafted prompt inputs. Exploitation does not require authentication and can result in arbitrary Python code execution in the host application context.

3

Is the default configuration affected?

Yes. The issue is specifically in the default lf.query Python protocol, so deployments using that default protocol are affected in versions before 0.1.2.

4

What should be done if patching is not immediately possible?

The provided information identifies the default lf.query Python protocol as the affected component, but does not provide a documented workaround. Avoiding use of that protocol would remove the described evaluation path, where operationally feasible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203