# CVE-2024-39899: PrivateBin allows shortening of URLs for other domains

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 54% of CVEs (2026-11-30)
- Published: 2024-07-09T18:57:50.228Z
- Modified: 2026-09-10T03:50:16.810Z
- Also known as: GHSA-mqqj-fx8h-437j
- Weaknesses: CWE-305, CWE-791
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- PrivateBin PrivateBin: >= 1.5.0, < 1.7.4; from 1.5.0 before 1.7.4
- privatebin/privatebin (Packagist): from 1.5.0 before 1.7.4

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/PrivateBin/PrivateBin/security/advisories/GHSA-mqqj-fx8h-437j> (web)
- <https://github.com/PrivateBin/PrivateBin/pull/1370> (web)
- <https://github.com/PrivateBin/PrivateBin/commit/0c4e810e6728f67d678458838d8430dfba4fcca4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-39899> (advisory)
- <https://github.com/PrivateBin/PrivateBin> (package)

## Sources

- CVE List: [CVE-2024-39899](https://www.cve.org/CVERecord?id=CVE-2024-39899), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-mqqj-fx8h-437j](https://github.com/advisories/GHSA-mqqj-fx8h-437j), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-39899](https://nvd.nist.gov/vuln/detail/CVE-2024-39899), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39899 · Whole record: https://cve.day/CVE-2024-39899.json · Rebuilt by cve.day 2026-11-25T22:58:42.696Z
