Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify target user with API key enabled
-
DeliveryEstimate key-generation timestamp from public activity
-
ExploitBrute-force SHA1(timestamp) candidates
-
ExecutionTest candidates against API endpoint
-
ImpactAuthenticate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
Network-reachable brute-force with no auth required by attacker, but high complexity to narrow timestamp window; only confidentiality impact (API key disclosure).
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
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
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.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-59789
GHSA-gccx-9qmf-hrf5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB