Advisory

GHSA-h27m-3qw8-3pw8

Also known as: CVE-2025-30086, GO-2025-3826

Summary

Possible ORM Leak Vulnerability in the Harbor

Details

Impact

Administrator users on Harbor could exploit an ORM Leak (https://www.elttam.com/blog/plormbing-your-django-orm/) vulnerability that was present in the /api/v2.0/users endpoint to leak users' password hash and salt values. This vulnerability was introduced into the application because the q URL parameter allowed the administrator to filter users by any column, and the filter password=~ could be abused to leak out a user's password hash character by character.

An attacker with administrator access could exploit this vulnerability to leak highly sensitive information stored on the Harbor database, as demonstrated in the attached writeup by the leaking of users' password hashes and salts. All endpoints that support the q URL parameter are vulnerable to this ORM leak attack, and could potentially be exploitable by lower privileged users to gain unauthorised access to other sensitive information.

Patches
No available

Workarounds
NA

References

Credit
[email protected]

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-07-23 15:47 UTC
Modified
2025-07-29 19:14 UTC

Affected packages and fixes

github.com/goharbor/harbor

Go · All systems

Affected

  • introduced 2.13.0, fixed 2.13.1 (semver)

Fixed versions

2.13.1

Fix

github.com/goharbor/harbor

Go · All systems

Affected

  • introduced 2.4.0-rc1.1, fixed 2.12.4 (semver)

Fixed versions

2.12.4

Fix

github.com/goharbor/harbor

Go · All systems

Affected

  • introduced 0, fixed 2.4.0-rc1.0.20250331071157-dce7d9f5cffb (semver)

Fixed versions

2.4.0-rc1.0.20250331071157-dce7d9f5cffb

Fix

  • Fixed version 2.4.0-rc1.0.20250331071157-dce7d9f5cffb
    go get github.com/goharbor/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences