CVE-2026-80104
Last modified
CVE-2026-80104 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. DB-GPT builds the destination path for an uploaded skill from the multipart filename without constraining it to the upload directory. skill_upload in packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py takes file.filename as given and writes the request body to upload_dir / filename. EPSS estimates a 0.71% chance of exploitation in the next 30 days.
Description
DB-GPT builds the destination path for an uploaded skill from the multipart filename without constraining it to the upload directory. skill_upload in packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py takes file.filename as given and writes the request body to upload_dir / filename. A path composed with that operator discards the left operand when the right one is absolute and follows parent references otherwise, so a filename such as ../../../tmp/x or /tmp/x resolves outside the intended directory; nothing canonicalises the result, checks that it remains under the upload root, or prevents a .py suffix. The route's only dependency is get_user_from_headers in dbgpt_serve/utils/auth.py, which returns a request carrying the admin role whether or not a user_id header is supplied, so the endpoint is reachable without credentials. A remote attacker holding no account can therefore write attacker-controlled bytes to any path the server process can write, place a new Python module inside the application package or replace one the application already imports, and obtain code execution in the server process when that module is next imported.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| eosphoros-ai | DB-GPT | >= 0.8.0, < 0.8.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-80104?
How severe is CVE-2026-80104?
How do I fix CVE-2026-80104?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-8006Insufficient policy enforcement in DevTools in Google Chrome…5.4
- CVE-2026-8007Insufficient validation of untrusted input in Cast in Google…7.5
- CVE-2026-8008Inappropriate implementation in DevTools in Google Chrome pr…5.4
- CVE-2026-8009Inappropriate implementation in Cast in Google Chrome prior …5
- CVE-2026-8010Insufficient validation of untrusted input in SiteIsolation …6.3
- CVE-2026-80101A flaw was found in the file-xwd plugin in GIMP. When proces…4.4
- CVE-2026-8011Insufficient policy enforcement in Search in Google Chrome p…4.3
- CVE-2026-8012Inappropriate implementation in MHTML in Google Chrome prior…5.4
- CVE-2026-8013Insufficient validation of untrusted input in FedCM in Googl…4.3
- CVE-2026-80138ClipBucket V5's web installer fails to properly validate or …9.8
- CVE-2026-8014Inappropriate implementation in Preload in Google Chrome pri…4.3
- CVE-2026-8015Inappropriate implementation in Media in Google Chrome prior…5.4
Are you affected by CVE-2026-80104?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
