PrivateBin allows shortening of URLs for other domains
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
PrivateBin is an online pastebin where the server has zero knowledge of pasted data. In v1.5, PrivateBin introduced the YOURLS server-side proxy. The idea was to allow using the YOURLs URL shortener without running the YOURLs instance without authentication and/or exposing the authentication token to the public, allowing anyone to shorten any URL. With the proxy mechanism, anyone can shorten any URL pointing to the configured PrivateBin instance. The vulnerability allowed other URLs to be shortened, as long as they contain the PrivateBin instance, defeating the limit imposed by the proxy. This vulnerability is fixed in 1.7.4.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| PrivateBin | PrivateBin | 1.5.0 to before 1.7.4 | 1.7.4 | Patch available | CNA |
| — | privatebin/privatebin (Packagist) | 1.5.0 to before 1.7.4 | 1.7.4 | Patch available | GHSA-mqqj-fx8h-437j |
- PrivateBin VendorPrivateBin Affected 1.5.0 to before 1.7.4 Fixed in 1.7.4 Patch available CNA
- privatebin/privatebin (Packagist) Vendor— Affected 1.5.0 to before 1.7.4 Fixed in 1.7.4 Patch available GHSA-mqqj-fx8h-437j
CPE names CISA-ADP · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:privatebin:privatebin:1.5.0:*:*:*:*:*:*:* | 1.5.0 | — | PrivateBin |
- cpe:2.3:a:privatebin:privatebin:1.5.0:*:*:*:*:*:*:* Versions 1.5.0 — ·PrivateBin
Remediation
- Fix · CNA PrivateBin (PrivateBin) Fixed in 1.7.4
- Fix · GHSA-mqqj-fx8h-437j privatebin/privatebin (Packagist) Fixed in 1.7.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-39899
- 2026-10-03 Alias added: GHSA-mqqj-fx8h-437j
- 2026-10-30 EPSS moved to the 50th–90th percentile
References
More PrivateBin vulnerabilities
- TI-2022-08646 Persistent Cross-site Scripting (XSS) vulnerability in PrivateBin CVSS 3.1HIGH 8.2
- TI-2025-38979 PrivateBin persistent HTML injection in attachment filename enables redirect and defacement CVSS 3.1MEDIUM 5.8
- TI-2025-40057 PrivateBin vulnerable to malicious filename use for self-XSS / HTML injection locally for users CVSS 3.1MEDIUM 5.4
- TI-2026-40342 PrivateBin: Reflected JSON injection in backend responses via unescaped REQUEST_URI CVSS 3.1N/A 0.0
- TI-2025-40060 PrivateBin's template-switching feature allows arbitrary local file inclusion through path traversal CVSS 3.1MEDIUM 5.8
- TI-2020-04279 Persistent XSS vulnerability in filename of attached file in PrivateBin CVSS 3.1MEDIUM 6.1
Sources
- CVE-2024-39899 · CVE Program
- CVE-2024-39899 · NVD
- FIRST EPSS
- GHSA-mqqj-fx8h-437j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences