CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



GHSA-PRH4-VHFH-24MJ

GHSA-PRH4-VHFH-24MJ: Information Exposure in Harbor Configuration Audit Logs

Amit Schendel
Amit Schendel
Senior Security Researcher

Mar 27, 2026·6 min read·47 visits

Executive Summary (TL;DR)

Harbor fails to properly redact sensitive configuration parameters from its audit logs. This exposes LDAP and OIDC credentials in plain text to any user with audit log read access, requiring an upgrade to version 2.15.0 and immediate rotation of exposed secrets.

Harbor, an open-source cloud native registry, contains a Moderate severity vulnerability (CWE-532) in its audit logging subsystem. The application relies on an incomplete blacklist to redact sensitive data from configuration payloads. This failure causes LDAP passwords, specifically `ldap_search_password`, and OpenID Connect (OIDC) client secrets to be written to the database in plain text within the operation description field. This vulnerability allows authorized users with audit log access to retrieve enterprise directory credentials.

Vulnerability Overview

Harbor is an open-source trusted cloud native registry project that stores, signs, and scans content. It provides advanced features such as role-based access control (RBAC), auditing, and image replication. The auditing subsystem is responsible for recording user actions and system events to maintain an operational trail for security and compliance purposes.

Vulnerability GHSA-PRH4-VHFH-24MJ (CWE-532) occurs within this audit logging mechanism, specifically during configuration modifications. When administrators update system settings via the /api/v2.0/configurations endpoint, Harbor captures the request payload to generate an operation description. This payload often contains highly sensitive environment parameters, including external authentication integration secrets.

The vulnerability exposes these external directory credentials in plain text within the application's audit logs. By writing unredacted LDAP passwords and OpenID Connect (OIDC) secrets to the database, Harbor violates secure logging practices. Any user or service account with read access to the audit logs can retrieve these credentials, fundamentally compromising the security boundary between the registry and the broader enterprise identity infrastructure.

Root Cause Analysis

The vulnerability originates from an insecure implementation of configuration event logging in src/pkg/auditext/event/config/config.go. The audit extension utilizes a resolver struct to process incoming metadata and format it for the persistence layer. During this processing, the system attempts to sanitize the JSON payload using a predefined blacklist of sensitive attributes.

This blacklist, defined in the SensitiveAttributes array, explicitly targeted specific keys such as ldap_password and oidc_client_secret. The sanitization function iterated through the request payload, masking the values of these known keys before appending the entire serialized JSON structure into the op_desc (operation description) string field.

This approach fails due to its reliance on an incomplete, "allow-by-default" redaction strategy. Key authentication parameters, most notably ldap_search_password, were omitted from the blacklist. Consequently, when an administrator configured or updated LDAP integration settings, the bind credentials for the directory service were serialized directly into the audit log in plain text.

The structural decision to store complex, nested JSON payloads within a single string field further compounded the issue. As new configuration parameters were added to Harbor over time, the static blacklist approach required manual updates for every new sensitive field. This architectural pattern is inherently brittle and guarantees future information disclosure regressions when developers inevitably overlook adding new secret keys to the redaction list.

Code Analysis

An analysis of the patch (commit 85e756486fc19333c5c300d7ac273e1580dc9350) reveals a fundamental shift from a blacklist-based redaction model to a strict "deny-all" approach. The Harbor maintainers determined that attempting to safely parse and redact arbitrary JSON configuration payloads was structurally flawed and unnecessary for audit purposes.

In the vulnerable implementation, the Resolve function in src/pkg/auditext/event/config/config.go actively captured the request payload, truncated it if it exceeded a size limit, and formatted it directly into the operation description:

// Vulnerable Implementation
func (c *resolver) Resolve(ce *commonevent.Metadata, evt *event.Event) error {
    // ...
    e.Payload = ext.Redact(ce.RequestPayload, c.SensitiveAttributes)
    e.OcurrAt = time.Now()
    if len(ce.RequestPayload) > payloadSizeLimit {
        ce.RequestPayload = fmt.Sprintf("%v...", ce.RequestPayload[:payloadSizeLimit])
    }
    e.OperationDescription = fmt.Sprintf("update configuration: %v", ce.RequestPayload)
    // ...
}

The patched code aggressively removes this logic. Instead of executing the ext.Redact function against ce.RequestPayload, the operation description is hardcoded to a static string. This completely isolates the audit log from the potentially sensitive contents of the user's API request:

// Patched Implementation
func (c *resolver) Resolve(ce *commonevent.Metadata, evt *event.Event) error {
    // ...
    e.OcurrAt = time.Now()
    e.OperationDescription = "update configuration"
    // ...
}

To eliminate the risk of similar flaws occurring elsewhere in the codebase, the patch completely removes the ext.Redact utility functions from src/pkg/auditext/event/utils.go. By deprecating the redaction utility entirely, the maintainers ensure that future audit events cannot accidentally reintroduce payload reflection without writing entirely new parsing logic.

Exploitation and Impact

Exploitation of this vulnerability requires existing authorized access to Harbor, specifically the ability to view system audit logs. This typically restricts the threat actor profile to malicious insiders, compromised administrator accounts, or attackers who have achieved secondary access through a separate vulnerability (such as a database read-only SQL injection).

The attack methodology is strictly passive. An attacker navigates to the Harbor UI or queries the database directly, filtering the audit events for "update configuration" operations. Upon locating these records, the attacker parses the op_desc field to extract the plaintext ldap_search_password or newly integrated OIDC secrets. No active exploitation tools, memory corruption techniques, or network manipulation are required.

The security impact is severe despite the moderate CVSS classification. Exposure of the ldap_search_password grants the attacker the exact bind credentials used by Harbor to query the enterprise Active Directory or LDAP server. Attackers use these credentials to enumerate the corporate directory, mapping user accounts, group memberships, and administrative hierarchies.

If the exposed LDAP account is over-privileged—a common misconfiguration in enterprise deployments—the attacker achieves vertical privilege escalation against the directory service itself. Similarly, exposed OIDC client secrets allow the attacker to spoof authentication requests or manipulate the OAuth flow, potentially establishing persistence across the organization's single sign-on (SSO) perimeter.

Remediation and Mitigation

The primary remediation path is upgrading the Harbor instance to version 2.15.0 or a later supported security patch. This release contains the updated resolver logic that completely omits request payloads from the audit log, immediately halting the ongoing leakage of sensitive configuration data.

System administrators must execute a retrospective audit of their databases. Upgrading Harbor prevents future credential logging, but it does not sanitize historical data already present in the audit_log table. Security teams must query the database for historical update configuration events and purge or manually redact any rows containing plaintext LDAP or OIDC secrets.

Organizations utilizing Harbor with external directory integration must assume that previously configured LDAP bind passwords and OIDC client secrets are compromised. Following the application upgrade and log sanitization, these external credentials must be rotated. The new secrets should be generated, updated in the external identity provider, and subsequently applied to the newly patched Harbor instance.

As a defense-in-depth measure, administrators should ensure that the service account used by Harbor for LDAP binding operates with the principle of least privilege. The account should only possess read access to the specific organizational units (OUs) necessary for authenticating Harbor users, mitigating the potential blast radius if the credentials are ever exposed again.

Official Patches

GoHarborPull Request #22913 addressing the audit log payload inclusion
GoHarborDirect commit of the security fix

Fix Analysis (1)

Technical Appendix

CVSS Score
5.3/ 10
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Affected Systems

Harbor Container Registry (< 2.15.0)

Affected Versions Detail

Product
Affected Versions
Fixed Version
Harbor
goharbor
< 2.15.02.15.0
AttributeDetail
Vulnerability ClassCWE-532: Insertion of Sensitive Information into Log File
Attack VectorAuthenticated Application Access (Audit Logs)
ImpactExposure of External Directory Credentials (LDAP/OIDC)
Exploit StatusUnexploited / No Public PoC
Fix ApproachDeny-all / Complete Payload Removal from Logs
Key Vulnerable Componentsrc/pkg/auditext/event/config/config.go

MITRE ATT&CK Mapping

T1552.001Credentials In Files
Credential Access
T1078Valid Accounts
Initial Access
CWE-532
Insertion of Sensitive Information into Log File

Information written to log files can be of a sensitive nature and give valuable guidance to an attacker or expose user data.

Vulnerability Timeline

Fix committed to harbor repository
2026-03-04

References & Sources

  • [1]GitHub Security Advisory: GHSA-PRH4-VHFH-24MJ
  • [2]Harbor Repository

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•10 minutes ago•CVE-2026-114146
9.0

CVE-2026-114146: Elevation of Privilege in ASP.NET Core SignalR Connection Dispatcher

An incorrect authorization vulnerability (CWE-863) exists in the ASP.NET Core SignalR HTTP Connection Dispatcher (`Microsoft.AspNetCore.Http.Connections`). The connection negotiation process failed to bind the authenticated caller identity to the generated connection state, and subsequent transport or message dispatch handlers failed to verify caller consistency. Consequently, an authenticated low-privilege attacker who obtains a valid connection identifier or token can inject messages into or hijack another user's SignalR session, achieving an elevation of privilege across security boundaries.

Alon Barad
Alon Barad
0 views•11 min read
•about 1 hour ago•CVE-2026-109478
7.5

CVE-2026-109478: Algorithmic Complexity Denial of Service in ASP.NET Core Header Parsing

CVE-2026-109478 is a network-accessible Denial of Service (DoS) vulnerability in ASP.NET Core caused by inefficient algorithmic complexity (CWE-407) when parsing comma-separated HTTP request headers. Prior to the patch, the internal helper method ParsingHelpers.GetHeaderSplit repeatedly called StringValues.Concat inside a loop iterating over each comma-separated token. Because StringValues allocates a new array of size k + 1 and copies all existing elements upon each concatenation, processing N tokens incurs O(N^2) time and space complexity. An unauthenticated remote attacker can send HTTP requests with headers containing thousands of short, comma-separated values to exhaust CPU cycles and induce severe Garbage Collection (GC) pauses, rendering the web application unresponsive.

Alon Barad
Alon Barad
5 views•11 min read
•about 2 hours ago•CVE-2026-114147
7.5

CVE-2026-114147: Denial of Service via Memory Leak in ASP.NET Core SignalR Redis Backplane

CVE-2026-114147 is a high-severity Denial of Service (DoS) vulnerability affecting ASP.NET Core and specifically the Microsoft.AspNetCore.SignalR.StackExchangeRedis scale-out provider across .NET 8.0, 9.0, 10.0, and 11.0 preview releases. The vulnerability originates from a string comparison mismatch between internal per-connection group collections and the centralized Redis channel subscription registry, compounded by a race condition during connection teardown. Remote unauthenticated attackers can exploit this flaw to leave orphaned connection contexts and active Redis pub/sub listeners pinned in memory, leading to unbounded memory exhaustion and application process termination.

Amit Schendel
Amit Schendel
3 views•10 min read
•about 3 hours ago•CVE-2026-114156
6.5

CVE-2026-114156: Path Equivalence Security Feature Bypass in Microsoft ASP.NET Core

CVE-2026-114156 is an improper resolution of path equivalence vulnerability (CWE-41) in Microsoft ASP.NET Core affecting .NET 11.0 preview releases and Microsoft Visual Studio 2026. The vulnerability stems from a discrepancy between how path prefix validation helpers (such as PathString.StartsWithSegments) and downstream routing mechanisms handle alternate path separators and percent-encoded characters. An unauthenticated remote attacker can exploit this mismatch over the network to bypass path-based authorization middleware and access restricted endpoints.

Amit Schendel
Amit Schendel
5 views•8 min read
•about 4 hours ago•CVE-2026-114157
7.5

CVE-2026-114157: Local Privilege Escalation via Race Condition in ASP.NET Core Kestrel Named Pipes Transport

CVE-2026-114157 is a high-severity local privilege escalation and security feature bypass vulnerability affecting ASP.NET Core on Microsoft Windows. The flaw resides in the Kestrel web server's Named Pipes transport layer (Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes) and stems from a race condition (CWE-362) during broken pipe error recovery. When an active connection throws an IOException during handshake acceptance, the connection listener previously disposed of the broken NamedPipeServerStream instance before acquiring a replacement stream from its internal pool. This sequence created a momentary window where zero server instances of the named pipe existed in the Windows Named Pipe File System (NPFS). A local, low-privileged attacker can exploit this timing window to create a named pipe with the identical name and a permissive Discretionary Access Control List (DACL), hijacking subsequent inter-process communications and escalating privileges across security boundaries.

Amit Schendel
Amit Schendel
6 views•11 min read
•about 5 hours ago•CVE-2026-124194
6.5

CVE-2026-124194: Forced Authentication and NetNTLMv2 Credential Leakage in Microsoft Office Outlook

CVE-2026-124194 is a forced authentication and spoofing vulnerability in Microsoft Office Outlook caused by a missing user interface warning before dereferencing remote network paths (CWE-356). By embedding an attacker-controlled Universal Naming Convention (UNC) path within MAPI message properties such as PidLidReminderFileParameter, an unauthenticated remote attacker can force a victim's system to initiate an outbound SMB or WebDAV connection upon opening or previewing a crafted message. This automatic authentication handshake leaks the user's NetNTLMv2 hash, enabling offline password cracking or real-time NTLM relay attacks. The vulnerability was exploited in the wild as a zero-day prior to its remediation in Microsoft's November 2026 Patch Tuesday updates and is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Alon Barad
Alon Barad
17 views•10 min read