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

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

- **Severity:** Critical 9.8 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **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 (`read_session_id`)
- **Fix available:** Yes
- **Published:** 14 Nov 2026
- **Updated:** 17 Nov 2026
- **Also known as:** DEBIAN-CVE-2015-10149, GHSA-3m7f-5m7r-g968, UBUNTU-CVE-2015-10149

## 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 (Improper Validation of Syntactic Correctness of Input)

## 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.


| Package | Ecosystem | PURL | Affected | Fixed in |
| --- | --- | --- | --- | --- |
| `Dancer` | cpan | `pkg:cpan/Dancer` | All versions | 1.3400 |

## How do I fix CVE-2015-10149?

Upgrade Dancer to 1.3400 or later.

## Is CVE-2015-10149 being exploited?

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

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2015-10149 and fix it if it is affected.

What it is: 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.
Exploitation: There is no known exploitation of CVE-2015-10149 in the wild and no public exploit code.
Exposure: An affected version is only exploitable if your software calls read_session_id. Many projects that include it are not exposed.

Affected packages and fixed versions:
- Dancer (cpan): affected all versions; fixed in 1.3400

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
   If an affected version is present, also search the code for calls to read_session_id and report whether any exist.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2015-10149/ (Markdown: https://insights.sbomify.com/CVE-2015-10149/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2015-10149
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2015-10149
- OSV: https://osv.dev/vulnerability/CVE-2015-10149

---
From sbomify Insights: https://insights.sbomify.com/CVE-2015-10149/
Summaries are generated and may contain mistakes; the official description above is the record.
