CVE-2026-75062
Received Received - Intake

Eval Injection in Google langfun

Vulnerability report for CVE-2026-75062, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-26

Last updated on: 2026-08-26

Assigner: Google Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-26
Last Modified
2026-08-26
Generated
2026-08-26
AI Q&A
2026-08-26
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
google langfun to 0.1.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-95 The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").
CWE-1188 The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-75062 is an eval injection flaw in Google's langfun library. The default lf.query protocol improperly neutralizes directives in dynamically evaluated code, allowing remote attackers to execute arbitrary Python code without authentication. The issue occurs because model outputs are parsed using pyglove.coding.evaluate with sandboxing disabled, enabling attacker-controlled input to bypass security filters and run malicious code in the host application.

Detection Guidance

Check if your langfun library version is prior to 0.1.2 by running pip show langfun. If installed, inspect code using lf.query for exec() calls without sandboxing. Monitor for unexpected network activity or file modifications during model interactions.

Impact Analysis

This vulnerability allows attackers to execute arbitrary Python code in your application's context. They could read sensitive data, modify files, make unauthorized network requests, or perform other malicious actions with the same privileges as your application. The attack is silent since malicious responses still return valid schema objects, making detection difficult.

Compliance Impact

This vulnerability likely violates compliance requirements for data protection and security. It enables unauthorized code execution which could lead to data breaches, unauthorized access to sensitive information, or system modifications. Organizations using affected langfun versions may fail GDPR's security principle (Article 32) and HIPAA's security rule (45 CFR Part 164) for protecting electronic protected health information.

Mitigation Strategies

Upgrade langfun to version 0.1.2 or later. If upgrading is not possible, disable the lf.query protocol or implement a strict input validation layer to sanitize model outputs before execution. Avoid using untrusted inputs in model prompts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-75062. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart