Skip to main content
VulnerabilityPublished

CVE-2025-64714: privatebin/privatebin · PrivateBin's template-switching feature allows arbitrary local file inclusion through path traversal

Affects privatebin/privatebinSource GCVE Database

0
Compare

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

CVSS 3.1 base score
5.8Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Packagistprivatebin/privatebinAffected
  • >=1.7.7 <2.0.3
Fixed in
  • 2.0.3

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

Community reviews

Loading reviews…