Skip to main content

Papra CVE-2026-35462

| EUVDEUVD-2026-19657 MEDIUM
Insufficient Session Expiration (CWE-613)
2026-04-07 GitHub_M
4.3
CVSS 3.1 · GitHub Advisory
View

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

papra < 26.4.0

Affected Packages

euvd papra fix: 26.4.0

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

GitHub Advisory PRIMARY 4.3 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Apr 16, 2026 - 05:29 EUVD
26.4.0
CVE Published
Apr 07, 2026 - 14:30 nvd
MEDIUM 4.3

DescriptionGitHub 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

EPSS Score
0.0%
Top 90% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Related Vulnerabilities in Papra Multiple Authorization Flaws

View all 3

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy