/

CVE-2026-55485

Severity:

HIGH RISK

(8.8)

Broken Access Control (CWE-863) in Piccolo Admin Panel

CVE-2026-55485

Deferred

Vulnerability type

Category:

Broken Access Control

CWE:

CWE-200, CWE-269, CWE-863

Impact:

Session Hijacking and Privilege Escalation

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Piccolo Admin can expose live session tokens through GET access to configured session tables for non-superuser administrators. An attacker who can access these tables may replay another user's token, impersonate a privileged account, and elevate their own account to superuser status.

Affected context

The issue can occur in Piccolo Admin deployments that expose both the Sessions and User tables through the admin interface. Although write operations may be restricted for non-superusers, permissive GET access can disclose session-token data when the token field is treated as ordinary table content rather than a secret.

Exploit preconditions

  • Attack surface: Piccolo Admin table API endpoints
  • Required access: An authenticated non-superuser administrator account
  • Deployment condition: The Sessions and User tables are included in the administrative table configuration
  • Trigger point: Reading session records through an allowed GET request
  • Why exploitation is possible: Session tokens are exposed to an account that should not be able to obtain or use another user's authentication material

Why this happens

The underlying flaw is an authorization and sensitive-data exposure mismatch. The application applies stronger restrictions to state-changing requests than to read requests, while the session token column is not marked or handled as secret data. This allows a lower-privileged administrator to read authentication credentials and reuse them as an existing privileged session, mapping primarily to CWE-863: Incorrect Authorization, with related exposure under CWE-200 and privilege-management concerns under CWE-269.

Potential impact

  • An attacker may hijack another user's active session
  • An attacker could impersonate a superuser
  • An attacker may change their own account to retain elevated privileges
  • Unauthorized users could access or modify administrative data
  • The deployment could experience broader account compromise and data integrity loss

General mitigation guidance

Mitigation generally focuses on enforcing least privilege for administrative reads and treating session credentials as secrets.

Common defensive patterns include:

  • Excluding session-token fields and other authentication secrets from administrative responses
  • Preventing non-superusers from viewing session tables or credential-bearing records
  • Applying authorization checks consistently to read and write operations
  • Using field-level access controls and secure-by-default table exposure
  • Limiting the ability to alter privilege-related user fields
  • Invalidating exposed sessions and rotating authentication credentials when disclosure is suspected
  • Separating operational session storage from general-purpose administrative browsing

How teams detect issues like this

Organizations can identify similar issues through:

  • Static analysis and code review checks for sensitive fields exposed by generic CRUD endpoints
  • Tests verifying that non-privileged roles cannot read session tokens or modify privilege attributes
  • API authorization matrices covering every HTTP method and resource combination
  • Monitoring for unusual session reuse, concurrent sessions, privilege changes, and access to session-table endpoints
  • Policy enforcement that blocks secrets and authentication material from administrative serializers
  • Automated security review tools that flag missing field-level authorization and credential exposure

Sources

SourceLink
github.comgithub.com/piccolo-orm/piccolo_admin/commit/96ddae12baf12288056cbb0cda6f9e8d7e22c86d
github.comgithub.com/piccolo-orm/piccolo_admin/releases/tag/1.14.0
github.comgithub.com/piccolo-orm/piccolo_admin/security/advisories/GHSA-2gh4-jmwq-rr8w
github.comgithub.com/piccolo-orm/piccolo_api/commit/520ec2567ae1d2cc417c8c0d1ad0ddc05549a8a4
github.comgithub.com/piccolo-orm/piccolo_api/pull/331
github.comgithub.com/piccolo-orm/piccolo_api/releases/tag/1.10.0

Frequently asked

questions

Exploitation generally requires an authenticated non-superuser administrator who can access the affected table endpoints in a deployment exposing the Sessions and User tables.

No. An attacker needs access to the Piccolo Admin interface or its API through the deployment's normal authenticated access path.

Do not expose session tokens through administrative APIs, enforce field- and table-level authorization, and protect privilege-changing fields from lower-privileged users.

Treat authentication material as secret by default, test authorization for every HTTP method and resource, and monitor for suspicious session reuse and privilege changes.

Find out what's already
exploitable in your codebase.