Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. privatebin/privatebin
  4. ›
  5. CVE-2025-64714

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

November 14, 2025

An unauthenticated Local File Inclusion exists in the template-switching feature: if templateselection is enabled in the configuration, the server trusts the template cookie and includes the referenced PHP file. An attacker can read sensitive data or, if they manage to drop a PHP file elsewhere, gain RCE.

References

  • github.com/PrivateBin/PrivateBin
  • github.com/PrivateBin/PrivateBin/commit/4434dbf73ac53217fda0f90d8cf9b6110f8acc4f
  • github.com/PrivateBin/PrivateBin/security/advisories/GHSA-g2j9-g8r5-rg82
  • github.com/advisories/GHSA-g2j9-g8r5-rg82
  • nvd.nist.gov/vuln/detail/CVE-2025-64714

Code Behaviors & Features

Detect and mitigate CVE-2025-64714 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.7.7 before 2.0.3

Fixed versions

  • 2.0.3

Solution

Upgrade to version 2.0.3 or above.

Impact 5.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-23: Relative Path Traversal
  • CWE-73: External Control of File Name or Path
  • CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Source file

packagist/privatebin/privatebin/CVE-2025-64714.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 06 Dec 2025 12:18:45 +0000.