Advisory

GHSA-jg68-vhv3-9r8f

Also known as: CVE-2026-25523

Summary

Magento's X-Original-Url header can expose admin url

Details

Impact

The admin url can be discovered without prior knowledge of it's location by exploiting the X-Original-Url header on some configurations.

Patches

The bug comes from the Zend library and is patche by unsetting the header in the bootstrap process.

Workarounds

Unset the X-Original-Url header in the web server configuration.

References

The activation of these headers is coming from the Zend_Controller module. It appears this has been known to some degree since 2016 -
https://peterocallaghan.co.uk/2016/12/magento-poisoning-cache/ (dead link now..)

Credit

Anees Hyder ( @anees0xdev ) via HackerOne
https://hackerone.com/anees0x_dev/hacktivity

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-02-02 23:12 UTC
Modified
2026-02-10 20:02 UTC

Affected packages and fixes

openmage/magento-lts

Packagist · All systems

Affected

  • introduced 0, fixed 20.16.1 (ecosystem)

Fixed versions

20.16.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences