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

Status: published. Published: 2026-11-14. Updated: 2026-11-14.

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.

## Remediation

- fix: Upgrade to Dancer 1.3400 or later. (source: CNA: CPANSec)
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: CPANSec) — https://github.com/PerlDancer/Dancer/commit/5a68fddbaef903fd3bd58517ce585cde986716e4.patch

## Affected products and versions

-  /  (Dancer): ≥ 0; < 1.3400 (affected, custom). Source: CNA: CPANSec

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-1286

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/PerlDancer/Dancer/commit/5a68fddbaef903fd3bd58517ce585cde986716e4.patch (CNA: CPANSec; patch)

- https://github.com/PerlDancer/Dancer/issues/1117 (CNA: CPANSec; issue-tracking)

- https://github.com/PerlDancer/Dancer/issues/1118 (CNA: CPANSec; issue-tracking)

- https://github.com/PerlDancer/Dancer/pull/1172 (CNA: CPANSec; issue-tracking)

- https://metacpan.org/release/BIGPRESH/Dancer-1.3400/changes (CNA: CPANSec; release-notes)

## Provenance

- CNA: CPANSec: https://www.cve.org/CVERecord?id=CVE-2015-10149; retrieved 2026-11-14; source updated 2026-11-14

Revision: 3dab7a716571d652f2737f3bd12681ef487d6fa0bd6f7830fd29253fb338caf1

Canonical: https://y2.dev/cve/CVE-2015-10149

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.