CVE-2026-19906

pkp pkp-lib API Key Generation APIProfileForm.php setData entropy

Published Aug 15, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability resides in pkp‑lib 3.3.0 to 3.5.0 within the setData method of APIProfileForm.php. Manipulating the apiKey argument produces API keys with insufficient entropy, allowing attackers to generate or guess predictable keys and thereby gain unauthorized access to protected API resources. This flaw is identified as CWE‑330 and CWE‑331: insecure random number generation with not enough entropy.

Affected Systems

The affected components are the pkp‑lib library versions 3.3.0, 3.4.0, and 3.5.0. Administrators operating these versions are at risk if the API key generation functionality is available to remote users.

Risk and Exploitability

The CVSS score of 6.3 reflects a moderate severity. The vulnerability can be triggered remotely but requires high complexity and is difficult to exploit, as the attack hinges on creating or predicting low‑entropy keys. EPSS is not reported and the issue is not listed in KEV, indicating that current exploitation rates are uncertain, yet the potential for misuse remains if an attacker can successfully guess or brute‑force a key.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official patch from commit 529b5df878e571ccc727647f7748eafc1466b041 or upgrade pkp‑lib to a newer release that uses a cryptographically secure random generator for API key creation.
  • Until the patch is applied, block or limit access to the API key generation endpoint for non‑trusted or unauthenticated users and enforce strict authorization checks.
  • Verify that any newly created API keys are generated using a high‑entropy source; optionally implement a server‑side validation that keys meet an expected randomness threshold.

Generated by OpenCVE AI on August 15, 2026 at 20:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title pkp pkp-lib API Key Generation APIProfileForm.php setData entropy
First Time appeared Pkp
Pkp pkp-lib
Weaknesses CWE-330
CWE-331
CPEs cpe:2.3:a:pkp:pkp-lib:*:*:*:*:*:*:*:*
Vendors & Products Pkp
Pkp pkp-lib
References
Metrics cvssV2_0

{'score': 2.6, 'vector': 'AV:N/AC:H/Au:N/C:P/I:N/A:N/E:ND/RL:OF/RC:C'}

cvssV3_0

{'score': 3.7, 'vector': 'CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:X/RL:O/RC:C'}

cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:X/RL:O/RC:C'}

cvssV4_0

{'score': 6.3, 'vector': '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/E:X'}

Weaknesses
  • CWE-330

    Use of Insufficiently Random Values

  • CWE-331

    Insufficient Entropy

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Aug 17, 2026, 5:39 PM
Reserved
Aug 14, 2026, 7:48 PM
Status
Deferred
Published
Aug 15, 2026, 7:16 PM
Modified
Aug 20, 2026, 12:48 PM