CVE-2015-10149 Dancer versions before 1.3400 for Perl pass unvalidated session ids from the session cookie to the session engine

Critical 9.8 Published Updated

Remote attackers can inject session ids via the cookie into Dancer session engines, enabling path traversal or injection.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Harmful if only installed
No
Needs a specific call
Yes
Fix
Available

What is CVE-2015-10149?

CVE-2015-10149 is a critical other vulnerability in Dancer, published on 14 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Dancer versions before 1.3400 for Perl pass unvalidated session ids from the session cookie to the session engine.

read_session_id returns the cookie value as the session id without checking its characters, and Dancer hands it to the session engine to load the session.

A remote attacker may cause path traversal or injection in a session engine that uses the id in a file path, cache command or query without checking it.

Weakness: CWE-1286

Which versions are affected by CVE-2015-10149?

1 open source package ship an affected version, including Dancer.

An affected version is only exploitable if your software calls read_session_id. Many projects that include it are not exposed.

PackageAffectedFixed in
Dancer cpan
pkg:cpan/Dancer
All versions1.3400

How do I fix CVE-2015-10149?

Upgrade Dancer to 1.3400 or later.

Upgrade to the fixed version. More about Other.

Is CVE-2015-10149 being exploited?

There is no known exploitation of CVE-2015-10149 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2015-10149, GHSA-3m7f-5m7r-g968, UBUNTU-CVE-2015-10149.

Is CVE-2015-10149 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free