Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
|
| Impact | This vulnerability presents moderate real-world risk despite a low CVSS score of 4.3. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N) correctly reflects that exploitation requires an authenticated user (PR:L), network access, and results in limited confidentiality impact without integrity or availability compromise. However, contextual factors elevate practical risk: (1) the vulnerability enables privilege persistence - a user who should have been revoked can retain indefinite access, (2) in document management systems, information disclosure directly translates to compliance violations (GDPR, HIPAA, SOC 2), and (3) an attacker with a compromised API key has no incentive to rotate or abandon it since expiration is ignored. The attack is trivial to execute (AC:L) with no user interaction required. This is a high-priority finding for any organization using Papra with time-based key rotation policies, as those policies are rendered completely ineffective. |
| Exploit ScenarioDerived | An employee with API key access to Papra leaves the organization or changes roles. The operations team issues a new key with a 90-day expiration and revokes the old key, expecting the employee to lose access after 90 days. Due to this vulnerability, the former employee retains the original key and can continue querying the API to download sensitive archived documents indefinitely. No authentication failure or warning is triggered. Alternatively, a malicious insider intentionally preserves API credentials with future expiration dates and continues using them after termination, undetected until audit logs are manually reviewed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 07, 2026
Papra API key expiration validation bypass in versions before 26.4.0 allows authenticated users with expired API keys to maintain indefinite access to protected endpoints. An attacker who obtains or retains a valid API key can continue authenticating even after the key's expiresAt timestamp has passed, enabling persistent unauthorized data access. This affects all Papra deployments using API key authentication without the 26.4.0 patch, though exploitation requires initial possession of a valid API key.
RemediationAI
Vendor-released patch: Upgrade to Papra 26.4.0 or later, which implements proper expiresAt timestamp validation during API key authentication. Organizations unable to immediately patch should implement a compensating control at the reverse proxy or API gateway layer by maintaining a separate registry of revoked or expired API keys and rejecting requests containing those credentials before they reach the Papra application. Additionally, review audit logs for API access patterns using keys that should have expired, as continued activity post-expiration may indicate compromise or abuse of this vulnerability. The official security advisory at https://github.com/papra-hq/papra/security/advisories/GHSA-866c-mc22-wvv5 should be consulted for version-specific upgrade instructions.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Papra is a document management and archiving platform that implements API key-based authentication for programmatic access to protected endpoints. The vulnerability stems from incomplete input validation (CWE-613: Insufficient Session Expiration) where the authentication handler fails to compare the current system time against the expiresAt claim embedded in API key metadata during token validation. Unlike proper JWT or session-based systems that check expiration timestamps server-side during each request, Papra's implementation accepts any syntactically valid key regardless of temporal constraints. This is a common anti-pattern in authentication frameworks where expiration logic is either entirely omitted or conditionally applied only under certain code paths.
Know when Papra gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
Papra is a minimalistic document management and archiving platform. Prior to 26.4.0, API keys with an expiresAt date are never validated against the current time during authentication. Any API key - regardless of its expiration date - is accepted indefinitely, allowing a user whose key has expired to continue accessing all protected endpoints as if the key were still valid. This vulnerability is fixed in 26.4.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-19657
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB