CVE-2025-64714: privatebin/privatebin · PrivateBin's template-switching feature allows arbitrary local file inclusion through path traversal
Affects privatebin/privatebinSource GCVE Database
Not known to be exploited · CVSS 5.8 Medium : upgrade to 2.0.3 when convenient.
Data as of 13 Nov 2026, 18:56 UTC
- Patch
- Available – fixed in 2.0.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 14 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade privatebin/privatebin to 2.0.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistprivatebin/privatebin | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in PrivateBin version 2.0.3 that fixes this vulnerability. Users should upgrade to version 2.0.3 or later. If upgrading is not immediately possible, disabling the 'templateselection' feature in the configuration file (cfg/conf.php) will prevent exploitation. Ensure that all PHP files on the server include the PHP execution prevention line to mitigate risks. No other specific mitigations are required if patched or the feature is disabled.
Description
PrivateBin versions from 1.7.7 up to but not including 2.0.3 have a Local File Inclusion vulnerability in the template-switching feature when the 'templateselection' option is enabled. This flaw allows an unauthenticated attacker to include arbitrary local PHP files by manipulating the 'template' cookie, potentially exposing sensitive data or enabling remote code execution if malicious PHP files are present on the server. However, the default PrivateBin configuration protects critical files with a PHP execution prevention line, limiting the impact. No full remote code execution or denial of service has been confirmed. A patch is available in version 2.0.3.
References
- github.com/PrivateBin/PrivateBin/security/advisories/GHSA-g2j9-g8r5-rg82 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-64714 (opens in a new tab)
- github.com/PrivateBin/PrivateBin/commit/4434dbf73ac53217fda0f90d8cf9b6110f8acc4f (opens in a new tab)
- github.com/PrivateBin/PrivateBin (opens in a new tab)