SecurityContext

CVE-2024-31451: DocsGPT - Unrestricted File Upload

  • Cve: CVE-2024-31451
  • Name: DocsGPT - Unrestricted File Upload
  • Description: DocsGPT is a GPT-powered chat for documentation. DocsGPT is vulnerable to unauthenticated limited file write in routes.py. This vulnerability is fixed in 0.8.1.
  • Impact: Attackers can write arbitrary files on the server, potentially leading to remote code execution or server compromise.
  • Remediation: Update to version 0.8.1.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.00575
  • Epss percentile: 0.48387
  • Assignee: [email protected]
  • Published at: 2024-04-16T15:15:36Z
  • Age in days: 952
  • Modified at: 2026-06-17T07:28:27Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-31451
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/arc53/DocsGPT/commit/d36f58230a326ecacb9c32a4ae8eac65666044f2
https://github.com/arc53/DocsGPT/security/advisories/GHSA-p5qc-vj2x-9rjp
https://securitylab.github.com/advisories/GHSL-2023-250_DocsGPT

Products

ProductAffectedPlatform boundSourcesUrl
arc53:docsgpt< 0.8.1noadp_cpes, cna_alias_text/v1/products/arc53/docsgpt

Projects

RepositoryLink kindsIndexedUrl
arc53/DocsGPTcommit, fix, security_advisoryyes/v1/repositories/arc53/DocsGPT

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts