Skip to main content

pkp-lib EUVDEUVD-2026-59789

| CVE-2026-19906 MEDIUM
Use of Insufficiently Random Values (CWE-330)
2026-08-15 cna@vuldb.com GHSA-gccx-9qmf-hrf5
6.3
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify target user with API key enabled
  2. Delivery
    Estimate key-generation timestamp from public activity
  3. Exploit
    Brute-force SHA1(timestamp) candidates
  4. Execution
    Test candidates against API endpoint
  5. Impact
    Authenticate as victim user via guessed key

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Cryptographic random values
Exploitation Conditions

Exploitation requires that a target user has generated an API key via the API Profile Form (API key generation must be enabled in the PKP platform configuration, as it is not always on by default). The attacker must be able to estimate the approximate time window in which the victim generated their key - narrowing the SHA1(timestamp) search space. The attacker does not require any account or authentication on the platform to attempt guessing. Exploitation is limited by: the AC:H complexity of narrowing the timestamp window, the need for the victim to have an active API key, and the requirement that the API endpoint be network-accessible. Non-default deployments where API access is disabled are not affected.

Impact

The CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:N/UI:N/VC:L) scores 6.3, reflecting that while exploitation is network-reachable, the high attack complexity (AC:H) accounts for the brute-force effort required to narrow the timestamp window. Real-world exploitability depends heavily on the attacker's ability to estimate key-generation time - for a publicly visible journal where user registration timestamps may be logged or inferred from public activity, this window could be narrow. Confidentiality impact is limited (VC:L) as only the targeted user's API key is exposed, not system credentials or bulk data. No EPSS score was provided in the intelligence, and the vulnerability is not listed in CISA KEV, indicating no confirmed active exploitation. No public POC was identified; however, the commit diff is public and the exploit logic is trivially derivable. The absence of KEV listing and the AC:H rating suggest this is not a mass-exploitation target, but deployments where API keys are used for automated workflows (harvesting, submission pipelines) face meaningful session-hijacking risk. Overall, this is a genuine cryptographic weakness warranting prompt patching but not emergency response absent targeted threat indicators.

Exploit ScenarioDerived

An attacker who knows or can estimate the approximate time a target user generated their API key (e.g., inferred from public journal submission timestamps or user profile creation dates) iterates SHA1 hashes of Unix timestamps within that window and tests each candidate against the API endpoint. With a narrow enough window, this brute-force is computationally trivial and can yield the victim's valid API key without any authentication, allowing the attacker to make authenticated API requests as that user.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 15, 2026

Insufficient entropy in API key generation for pkp/pkp-lib 3.3.0, 3.4.0, and 3.5.0 exposes generated API keys to brute-force prediction. The vulnerable code derived API keys using SHA1 of the current Unix timestamp (sha1(time())), which yields a deterministic, low-entropy value easily narrowed to a small candidate window if the approximate key-generation time is known or guessable. No public exploit or CISA KEV listing exists at time of analysis, but the upstream fix commit (529b5df) is publicly visible and the flaw is self-evident from the diff.

RemediationAI

Apply the upstream fix available at commit 529b5df878e571ccc727647f7748eafc1466b041 (https://github.com/pkp/pkp-lib/commit/529b5df878e571ccc727647f7748eafc1466b041). This commit replaces sha1(time()) with bin2hex(random_bytes(32)) in the API key generation path. Note that this is a source-level commit fix; a tagged patched release version was not independently confirmed from the available intelligence - operators should verify whether their PKP platform distribution (OJS, OMP, OPS) has incorporated this commit into a versioned release and upgrade accordingly. As an immediate compensating control, administrators can disable API key functionality entirely for users who do not require programmatic access, reducing the attack surface. Additionally, auditing access logs for unusual API-authenticated activity since key-generation events may help identify prior exploitation. Forcing re-generation of all existing API keys after patching is recommended, as previously generated keys derived from sha1(time()) remain weak.

Affected VersionsENISA

pkp-lib 3.4.0
pkp-lib 3.5.0
pkp-lib 3.3.0

Affected Packages

euvd pkp_lib no fix

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

The affected code resides in classes/user/form/APIProfileForm.php within the setData() method of the APIProfileForm class. When a user requests a new API key, the old implementation called sha1(time()), hashing the current Unix epoch second. Because PHP time() has one-second granularity and SHA1 is deterministic, the entire keyspace an attacker must search is bounded by the plausible window of when a key could have been generated - often reducible to hours or days of timestamps. CWE-330 (Use of Insufficiently Random Values) precisely describes this root cause: a security-sensitive value derived from a predictable seed rather than a cryptographically secure random source. The fix replaces this with bin2hex(random_bytes(32)), producing 256 bits of CSPRNG entropy, which is cryptographically appropriate. The library underpins PKP platforms including Open Journal Systems (OJS), Open Monograph Press (OMP), and Open Preprint Systems (OPS).

Know when PHP 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

Vendor (vuldb) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.7 LOW

Network-reachable brute-force with no auth required by attacker, but high complexity to narrow timestamp window; only confidentiality impact (API key disclosure).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A weakness has been identified in pkp pkp-lib 3.3.0/3.4.0/3.5.0. This vulnerability affects the function setData of the file classes/user/form/APIProfileForm.php of the component API Key Generation. Executing a manipulation of the argument apiKey can lead to insufficient entropy. The attack may be performed from remote. This attack is characterized by high complexity. It is stated that the exploitability is difficult. This patch is called 529b5df878e571ccc727647f7748eafc1466b041. It is best practice to apply a patch to resolve this issue.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
academic publishing niche software, limited enterprise footprint
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.3%
Patch available No
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

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