Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. piccolo-admin
  4. ›
  5. CVE-2026-55485

CVE-2026-55485: piccolo-admin has a privilege escalation issue - admin to superuser via session-token disclosure in GET /api/tables/sessions/.

August 28, 2026

piccolo_admin uses a helper called superuser_validators to gate access to the user and session tables for non-superusers. The helper rejects PUT, PATCH, DELETE, and POST, but does not reject GET.

The sessions table stores live session tokens in plaintext, and the token column is not marked secret=True, so it is included in every GET response. Any non-superuser admin can therefore list every other user’s live session token with one request, replay the token as their own Cookie: id=…, impersonate that user (including the superuser), and then permanently self-promote by writing superuser = true on their own row.

The chain is reachable on a realistic, documented configuration: a deployer adds the Sessions (and User) tables to create_admin([...]) so superusers have a UI to monitor and revoke sessions.

References

  • github.com/advisories/GHSA-2gh4-jmwq-rr8w
  • github.com/piccolo-orm/piccolo_admin/commit/96ddae12baf12288056cbb0cda6f9e8d7e22c86d
  • github.com/piccolo-orm/piccolo_admin/releases/tag/1.14.0
  • github.com/piccolo-orm/piccolo_admin/security/advisories/GHSA-2gh4-jmwq-rr8w
  • github.com/piccolo-orm/piccolo_api/commit/520ec2567ae1d2cc417c8c0d1ad0ddc05549a8a4
  • github.com/piccolo-orm/piccolo_api/pull/331
  • github.com/piccolo-orm/piccolo_api/releases/tag/1.10.0
  • nvd.nist.gov/vuln/detail/CVE-2026-55485

Code Behaviors & Features

Detect and mitigate CVE-2026-55485 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.14.0

Fixed versions

  • 1.14.0

Solution

Upgrade to version 1.14.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-269: Improper Privilege Management
  • CWE-863: Incorrect Authorization

Source file

pypi/piccolo-admin/CVE-2026-55485.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 05 Sep 2026 12:17:52 +0000.