GHSA-qqw9-2vj9-hx7r: Duplicate Advisory Remote Code Execution Vulnerability

HIGH
Published
Advisory Summary

GHSA-qqw9-2vj9-hx7r is a HIGH remote code execution vulnerability (General Security Weakness) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves title authenticated remote code execution in validate_code via malicious decorators description. Remediation is available in the latest vendor maintenance releases.

GHSA-qqw9-2vj9-hx7r at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-qqw9-2vj9-hx7r
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Duplicate Advisory
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix GHSA-qqw9-2vj9-hx7r

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

langflow fixed: Latest secure release
pip install langflow>=Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show langflow

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-qqw9-2vj9-hx7r, inspect your installed packages using pip:

pip show langflow

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The pip show langflow command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-w584-2h2r-2hvf. This link is maintained to preserve external references. ## Original Description langflow-ai langflow v1.9.3 is affected by: Code Injection. The impact is: execute arbitrary code (remote). The component is: src/backend/base/langflow/api/v1/validate.py:validate-post_validate_code-a-real-authenticated-http-post-to-api-v1. The attack vector is: Attack surface: HTTP or browser-backed service path. A public-facing route accepts raw Python source and forwards it into a server-side compile/exec validation path without any visible entitlement guard. ¶¶ A weakness has been identified in langflow-ai langflow up to 1.9.3. langflow contains a code injection vulnerability in validate-post_validate_code-a-real-authenticated-http-post-to-api-v1 (src/backend/base/langflow/api/v1/validate.py:13). An authenticated attacker can execute arbitrary Python code on the server by submitting malicious code to the /api/v1/validate/code endpoint, which directly executes user-supplied code without sandboxing or security controls.

GHSA-qqw9-2vj9-hx7r Affected Duplicate Advisory Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
langflow
PyPI
≥ 1.7.2

References

Frequently Asked Questions

What is GHSA-qqw9-2vj9-hx7r?
GHSA-qqw9-2vj9-hx7r is a security vulnerability in Duplicate Advisory involving Title Authenticated Remote Code Execution in validate_code via Malicious Decorators Description under General Security Weakness.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: langflow.
What version fixes GHSA-qqw9-2vj9-hx7r?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is langflow affected?
Yes, langflow is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-qqw9-2vj9-hx7r?
GHSA-qqw9-2vj9-hx7r is classified under General Security Weakness.
How can I check PyPI dependencies for GHSA-qqw9-2vj9-hx7r?
Run the dependency tree command: 'pip show langflow'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-qqw9-2vj9-hx7r",
  "modified" : "2026-10-05T22:30:52Z",
  "published" : "2026-10-02T00:31:30Z",
  "withdrawn" : "2026-10-05T22:30:52Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Title Authenticated Remote Code Execution in validate_code via Malicious Decorators Description",
  "details" : "## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-w584-2h2r-2hvf. This link is maintained to preserve external references.\n\n## Original Description\nlangflow-ai langflow v1.9.3 is affected by: Code Injection. The impact is: execute arbitrary code (remote). The component is: src/backend/base/langflow/api/v1/validate.py:validate-post_validate_code-a-real-authenticated-http-post-to-api-v1. The attack vector is: Attack surface: HTTP or browser-backed service path. A public-facing route accepts raw Python source and forwards it into a server-side compile/exec validation path without any visible entitlement guard. ¶¶ A weakness has been identified in langflow-ai langflow up to 1.9.3. langflow contains a code injection vulnerability in validate-post_validate_code-a-real-authenticated-http-post-to-api-v1 (src/backend/base/langflow/api/v1/validate.py:13). An authenticated attacker can execute arbitrary Python code on the server by submitting malicious code to the /api/v1/validate/code endpoint, which directly executes user-supplied code without sandboxing or security controls.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "langflow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.7.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "< 1.10.1"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-51886"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/langflow-ai/langflow/issues/13336"
  }, {
    "type" : "WEB",
    "url" : "https://gist.github.com/Ro1ME/c11b1e63e4e8fca6b25275144f25ec2a"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-05T22:30:52Z",
    "nvd_published_at" : "2026-10-01T22:17:03Z"
  }
}