CVE-2021-21399
Linux Ubuntu vulnerability analysis and mitigation

Overview

Ampache, a web-based audio/video streaming application and file manager, was found to contain a vulnerability in versions prior to 4.4.1 that allowed unauthenticated access to the application using the subsonic API. The vulnerability was assigned CVE-2021-21399 and was discovered in December 2020, with public disclosure in April 2021 (GitHub Advisory).

Technical details

The vulnerability existed in the subsonic API authentication mechanism where attackers could bypass authentication checks by using a username that was not registered on the site. This security flaw allowed unauthorized access to Ampache's functionality through the subsonic API endpoint. The issue was present in the token check functionality within the auth.class.php file (GitHub Advisory).

Impact

The vulnerability allowed unauthorized users to access Ampache's functionality through the subsonic API, potentially exposing sensitive audio and video content to unauthorized users. An attacker could access features such as playlists and other system functionalities without proper authentication (GitHub Advisory).

Exploitability

The vulnerability could be exploited by making specific API requests to the subsonic endpoint using a non-existent username. An example attack URL would include parameters for the subsonic API with an invalid user account, allowing authentication bypass (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in Ampache version 4.4.1 and in the develop branch (commit 3c12ef26c). For users unable to update immediately, a workaround was provided to modify the token_check function in lib/class/auth.class.php. Alternatively, users could disable the Subsonic Backend completely (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Linux Ubuntu vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-63343CRITICAL9.9
  • Linux Debian logoLinux Debian
  • incus
NoYesAug 21, 2026
CVE-2026-63125CRITICAL9.9
  • Linux Debian logoLinux Debian
  • incus
NoYesAug 21, 2026
CVE-2026-62941CRITICAL9.9
  • Linux Debian logoLinux Debian
  • incus
NoYesAug 21, 2026
CVE-2026-62940CRITICAL9.9
  • Linux Debian logoLinux Debian
  • incus
NoYesAug 21, 2026
CVE-2026-62867CRITICAL9.9
  • Linux Debian logoLinux Debian
  • incus
NoYesAug 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management