All vulnerabilities

Servers and applications

GHSA-rwrp-9823-p2xq

Incomplete Credential Redaction Exposes Secrets via API

Severity
Medium 6.5
Published
27 Jul 2026
Last changed
27 Jul 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.1.3
Weakness
Information exposure (CWE-200)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Sources
Project advisories (GitHub)

Description

The GET /api/v1/credentials/:id endpoint decrypts stored credential data and returns it in the plainDataObj field of the API response. While a redactCredentialWithPasswordType() function masks fields defined with type: 'password' in their component schema, many credential types store highly sensitive data (database connection URLs with embedded passwords, Google service account JSON with RSA private keys, AWS access keys) in fields defined as type: 'string'. These string-type fields are returned in full plaintext without any redaction.

Any authenticated user with credentials:view permission can retrieve the raw secrets of any credential in their workspace by calling this endpoint.

packages/server/src/services/credentials/index.ts, getCredentialById() (line 127):

At line 138, the credential's encrypted data is decrypted:

At lines 143-146, the decrypted data is attached to the response as plainDataObj:

At line 147, only encryptedData is stripped, leaving plainDataObj intact:

From FlowiseAI/Flowise's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
FlowiseServers and applications · github:flowiseai/flowise
  • Every version before 3.1.3

About Flowise

Build AI Agents, Visually

From its GitHub repository.
Archived
Yes, no longer maintainedGitHub
Weekly downloads (npm)
6,604npm, 15 Nov 2026
Docker Hub pulls
7,390,661Docker Hub, 15 Nov 2026
GitHub stars
55,573GitHub, 15 Nov 2026
Forks
25,094GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
29 Jul 2026GitHub
First published on GitHub
31 Mar 2023GitHub

References