Live threats

All CVEs / PrivateBin

CVE-2024-39899PrivateBin

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
0.8%
probability of exploitation in 30 days · percentile 54
Auth required
No
Published
Jul 9, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-305, CWE-791
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for PrivateBin.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist privatebin/privatebin ≥ 1.5.0 < 1.7.4 1.7.4 composer require "privatebin/privatebin:^1.7.4"

Per OSV / GitHub Advisories (GHSA-mqqj-fx8h-437j). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.