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.
Published: 2026-08-15
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Sat, 15 Aug 2026 19:15:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-15T19:00:10.115Z

Reserved: 2026-08-14T19:48:10.879Z

Link: CVE-2026-19906

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T19:16:32.470

Modified: 2026-08-15T19:16:32.470

Link: CVE-2026-19906

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T20:30:14Z

Weaknesses
  • CWE-330

    Use of Insufficiently Random Values

  • CWE-331

    Insufficient Entropy