SecurityContext

CVE-2025-27410: PwnDoc - Path Traversal & Remote Code Execution

  • Cve: CVE-2025-27410
  • Name: PwnDoc - Path Traversal & Remote Code Execution
  • Description: PwnDoc is a penetration test reporting application. Prior to version 1.2.0, the backup restore functionality is vulnerable to path traversal in the TAR entry's name, allowing an attacker to overwrite any file on the system with their content. By overwriting an included `.js` file and restarting the container, this allows for Remote Code Execution as an administrator. The remote code execution occurs because any user with the `backups:create` and `backups:update` (only administrators by default) is able to overwrite any file on the system. Version 1.2.0 fixes the issue.
  • Impact: Attackers can overwrite system files and execute arbitrary code with administrator privileges, leading to full system compromise.
  • Remediation: Update to version 1.2.0 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write, remote_code_execution
  • Requirement type: admin_privileges
  • Requirements: Attacker needs backups:create and backups:update permissions
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
  • Epss score: 0.02111
  • Epss percentile: 0.82277
  • Assignee: [email protected]
  • Published at: 2025-02-28T21:15:27Z
  • Age in days: 634
  • Modified at: 2026-06-17T09:03:32Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-27410
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

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

Public exploits

UrlSourceAdded date
https://github.com/pwndoc/pwndoc/security/advisories/GHSA-mxw8-vgvx-89hxnvd2025-02-28
https://github.com/shreyas-malhotra/CVE-2025-27410poc-in-github2025-03-18

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/pwndoc/pwndoc/commit/98f284291d73d3a0b11d3181d845845c192d1080Patch
https://github.com/pwndoc/pwndoc/security/advisories/GHSA-mxw8-vgvx-89hxExploit, Vendor Advisory
https://github.com/pwndoc/pwndoc/blob/14acb704891245bf1703ce6296d62112e85aa995/backend/src/routes/backup.js#L527Product
https://github.com/pwndoc/pwndoc/releases/tag/v1.2.0Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
pwndoc_project:pwndoc< 1.2.0nonvd/v1/products/pwndoc_project/pwndoc

Projects

RepositoryLink kindsIndexedUrl
pwndoc/pwndoccommit, fix, releases, security_advisoryyes/v1/repositories/pwndoc/pwndoc

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2025-02-28
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts