Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. azuracast/azuracast
  4. ›
  5. GHSA-q4ph-8x8g-95f8

GHSA-q4ph-8x8g-95f8: AzuraCast Vulnerable to Liquidsoap Code Injection via Incomplete cleanUpString-to-toRawString Migration in Remote Relay Password Field

May 4, 2026

The cleanUpString() method in ConfigWriter.php uses an ungreedy regex to strip Liquidsoap string interpolation patterns (#{...}) from user input. This regex can be bypassed via nested interpolation syntax (#{#{EXPR}}), allowing injection of arbitrary Liquidsoap code. Commit ff49ef4 migrated most user-controlled fields to the safe toRawString() method but left the remote relay password field using the vulnerable cleanUpString(). A user with the RemoteRelays station permission can achieve arbitrary code execution in the Liquidsoap process, leak internal API keys, or disrupt station operation.

References

  • github.com/AzuraCast/AzuraCast/commit/d6b8422fc2c36269df9d1adec89dfbba58828915
  • github.com/AzuraCast/AzuraCast/security/advisories/GHSA-q4ph-8x8g-95f8
  • github.com/advisories/GHSA-q4ph-8x8g-95f8

Code Behaviors & Features

Detect and mitigate GHSA-q4ph-8x8g-95f8 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 before 0.23.6

Fixed versions

  • 0.23.6

Solution

Upgrade to version 0.23.6 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/azuracast/azuracast/GHSA-q4ph-8x8g-95f8.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Mon, 18 May 2026 00:21:11 +0000.