Vulnerabilities in pkg:pypi/python-a2a
PACKAGECVE-2025-6167 is a MODERATE (CVSS 5.5) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Python a2a libraries in the PyPI ecosystem. The issue involves python-a2a has a path traversal in the create_workflow function. Remediation is available by upgrading affected packages to version 0.5.6.
pkg:pypi/python-a2a
Vulnerability advisories affecting package pkg:pypi/python-a2a. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-rp38-pj7h-r8q2 | CVE-2025-6167 | MODERATE | python-a2a has a path traversal in the create_workflow function |
CVE-2025-6167 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2025-6167
To remediate this vulnerability, upgrade all affected Python a2a dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install python-a2a>=0.5.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show python-a2a
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-6167, inspect your installed packages using pip:
pip show python-a2a
Analyze the terminal output to locate any version of Python a2a in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.6), your application is affected.
Note: The pip show python-a2a command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Python a2a, 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
CVE-2025-6167 Affected Python a2a Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
python-a2a
|
PyPI |
< 0.5.6
|
0.5.6
|
References
Frequently Asked Questions
What is CVE-2025-6167?
Which Python a2a versions are affected?
What version fixes CVE-2025-6167?
Is python-a2a affected?
What is the CVSS score of CVE-2025-6167?
What CWE is associated with CVE-2025-6167?
How can I check PyPI dependencies for CVE-2025-6167?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rp38-pj7h-r8q2",
"modified" : "2025-07-03T12:46:47Z",
"published" : "2025-06-17T09:31:05Z",
"aliases" : [ "CVE-2025-6167" ],
"summary" : "python-a2a has a path traversal in the create_workflow function",
"details" : "A vulnerability classified as critical has been found in themanojdesai python-a2a up to 0.5.5. Affected is the function create_workflow of the file python_a2a/agent_flow/server/api.py. The manipulation leads to path traversal. Upgrading to version 0.5.6 is able to address this issue. It is recommended to upgrade the affected component.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "python-a2a"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.5.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-6167"
}, {
"type" : "WEB",
"url" : "https://github.com/themanojdesai/python-a2a/issues/40"
}, {
"type" : "WEB",
"url" : "https://github.com/themanojdesai/python-a2a/issues/40#issuecomment-2904804388"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/python-a2a/PYSEC-2025-64.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/themanojdesai/python-a2a"
}, {
"type" : "WEB",
"url" : "https://github.com/themanojdesai/python-a2a/releases/tag/v0.5.6"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.312642"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.312642"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?submit.593613"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-17T15:37:14Z",
"nvd_published_at" : "2025-06-17T07:15:18Z"
}
}