Session-cookie disclosure via cross-origin redirect forwarding
Published Jul 26, 2023 · Updated Nov 20, 2025
Information disclosure in GitLab DAST scanner 3.0.29 through 4.0.4 allows remote authenticated users to obtain session cookies. During an authenticated scan, the crawler follows HTTP redirects to a different origin while retaining cookies set for the authorization origin, sending those cookies to the redirect destination. Exploitation requires control of content reached by an authenticated DAST scan and a cross-origin redirect; the consequence is disclosure of the scanner's session cookies.
Summary
What happened
Information disclosure in GitLab DAST scanner 3.0.29 through 4.0.4 allows remote authenticated users to obtain session cookies. During an authenticated scan, the crawler follows HTTP redirects to a different origin while retaining cookies set for the authorization origin, sending those cookies to the redirect destination. Exploitation requires control of content reached by an authenticated DAST scan and a cross-origin redirect; the consequence is disclosure of the scanner's session cookies.
The record
- CVE
- CVE-2023-1401
- Published
- Jul 26, 2023
- Updated
- Nov 20, 2025
- Vendor
- GitLab
- Product
- GitLab
- Classifications
- CWE-201, T1539
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 26, 2023CVE publishedPublication date reported by the CVE source.
- Nov 20, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.0.29 <4.0.5
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Cross-origin DAST cookie-leak reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo