VulnarioBlogSonarQube vulnerabilities

SonarQube Vulnerabilities: The 6 Most Critical SonarQube Security Bugs (CVEs)

SonarQube vulnerabilities are security flaws in SonarQube that attackers can abuse to steal data, take over a server or interrupt a service. SonarQube is a code quality and security analysis platform. The National Vulnerability Database (NVD) lists 6 CVEs for SonarQube, 0 of them rated critical, and none were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.

This guide lists the 6 most critical SonarQube security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers SonarQube security basics, the current end-of-life dates and a free way to be told about the next SonarQube CVE as soon as it is published.

Key takeaways

  • No SonarQube CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
  • 0 SonarQube CVEs are rated critical (CVSS v3), and 0 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2024-47911, published Oct 4, 2024.
  • Supported SonarQube releases today (per endoflife.date): 26.10. Releases not on the list are past their announced end of life.
  • You can monitor SonarQube for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these SonarQube CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 6 most critical SonarQube CVEs at a glance

Most critical SonarQube vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2020-279867.5 High2020-10-28Missing authenticationNo
2CVE-2024-479117.2 High2024-10-04SQL injectionNo
3CVE-2024-384606.5 Medium2024-06-16Security flawNo
4CVE-2019-175796.1 Medium2019-10-14Cross-site scripting (XSS)No
5CVE-2020-280025.3 Medium2020-11-02Improper authenticationNo
6CVE-2018-194134.3 Medium2018-12-14Information exposureNo

Each SonarQube CVE explained

1. CVE-2020-27986: Missing authentication

  • CVSS 7.5 High
  • Published 2020-10-28
  • CWE-306
What NVD says
SonarQube 8.4.2.36762 allows remote attackers to discover cleartext SMTP, SVN, and GitLab credentials via the api/settings/values URI. NOTE: reportedly, the vendor's position for SMTP and SVN is "it is the administrator's responsibility to configure it.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality.
Affected versions
8.4.2.36762
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2020-27986 (opens in a new tab)

2. CVE-2024-47911: SQL injection

  • CVSS 7.2 High
  • Published 2024-10-04
  • CWE-89
What NVD says
In SonarSource SonarQube 10.4 through 10.5 before 10.6, a vulnerability was discovered in the authorizations/group-memberships API endpoint that allows SonarQube users with the administrator role to inject blind SQL commands.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing high privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
10.4 to before 10.6
What to do
Upgrade to 10.6 or a later release, then restart the service.

NVD record for CVE-2024-47911 (opens in a new tab)

3. CVE-2024-38460: Security flaw

  • CVSS 6.5 Medium
  • Published 2024-06-16
  • CWE-532
What NVD says
In SonarQube before 10.4 and 9.9.4 LTA, encrypted values generated using the Settings Encryption feature are potentially exposed in cleartext as part of the URL parameters in the logs (such as SonarQube Access Logs, Proxy Logs, etc).
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality.
Affected versions
before 9.9.4; 10.0.0.68432 to before 10.4
What to do
Upgrade to the fixed release for your branch (9.9.4, 10.4) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2024-38460 (opens in a new tab)

4. CVE-2019-17579: Cross-site scripting (XSS)

  • CVSS 6.1 Medium
  • Published 2019-10-14
  • CWE-79
What NVD says
SonarSource SonarQube before 7.8 has XSS in project links on account/projects.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and user interaction. It has limited impact on confidentiality and integrity.
Affected versions
before 7.8
What to do
Upgrade to 7.8 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2019-17579 (opens in a new tab)

5. CVE-2020-28002: Improper authentication

  • CVSS 5.3 Medium
  • Published 2020-11-02
  • CWE-287
What NVD says
In SonarQube 8.4.2.36762, an external attacker can achieve authentication bypass through SonarScanner. With an empty value for the -D sonar.login option, anonymous authentication is forced. This allows creating and overwriting public and private projects via the /api/ce/submit endpoint.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has limited impact on integrity.
Affected versions
8.4.2.36762
What to do
Apply the vendor's security update for your release and restart the service.

NVD record for CVE-2020-28002 (opens in a new tab)

6. CVE-2018-19413: Information exposure

  • CVSS 4.3 Medium
  • Published 2018-12-14
  • CWE-200
What NVD says
A vulnerability in the API of SonarSource SonarQube before 7.4 could allow an authenticated user to discover sensitive information such as valid user-account logins in the web application. The vulnerability occurs because of improperly configured access controls that cause the API to return the externalIdentity field to non-administrator users.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has limited impact on confidentiality.
Affected versions
before 7.4
What to do
Upgrade to 7.4 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2018-19413 (opens in a new tab)

SonarQube end of life: which versions still get security fixes

Running a release that still receives security fixes is the most effective way to avoid SonarQube vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported SonarQube releases are 26.10.

SonarQube release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
SonarQube 26.10Oct 12, 2026Not announced26.10.0.133078Supported
SonarQube 26.9Sep 2, 2026Oct 12, 202626.9.0.129388End of life
SonarQube 26.8Aug 5, 2026Sep 2, 202626.8.0.126808End of life
SonarQube 26.7Jul 8, 2026Aug 5, 202626.7.0.124771End of life
SonarQube 26.6Jun 3, 2026Jul 8, 202626.6.0.123539End of life
SonarQube 26.5May 19, 2026Jun 3, 202626.5.0.122743End of life
SonarQube 26.4Apr 10, 2026May 19, 202626.4.0.121862End of life
SonarQube 26.3Mar 3, 2026Apr 10, 202626.3.0.120487End of life

Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.

SonarQube security checklist

  1. Never expose management ports or dashboards to the internet without authentication.
  2. Rotate tokens and credentials, and keep them out of repositories and logs.
  3. Apply least privilege to pipelines, runners and service accounts.
  4. Update the tool and its plugins or extensions on a schedule.
  5. Pin versions of images and dependencies, and scan them.

Where you run SonarQube matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating SonarQube: on most plans the operating system and applications are yours to patch unless the plan says otherwise.

Your stack is bigger than SonarQube. A flaw anywhere in the chain can be the way in, so also review our guides to Jenkins vulnerabilities, Java vulnerabilities and GitLab vulnerabilities.

How to get alerted about new SonarQube vulnerabilities

NVD received 0 new SonarQube CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose SonarQube and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run SonarQube alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about SonarQube vulnerabilities

What are the most critical SonarQube vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical SonarQube CVEs include CVE-2020-27986 (CVSS 7.5), CVE-2024-47911 (CVSS 7.2), CVE-2024-38460 (CVSS 6.5). The guide above ranks the 6 most critical with affected versions and fixes.

Have SonarQube vulnerabilities been exploited in real attacks?

For the SonarQube product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep SonarQube patched.

How many vulnerabilities does SonarQube have?

As of Nov 3, 2026 the National Vulnerability Database lists 6 CVEs for SonarQube, with 0 rated critical by CVSS v3. 0 were published in the previous twelve months.

Which SonarQube versions are still supported?

As of Nov 3, 2026, endoflife.date lists these SonarQube releases as supported: 26.10. Releases that are not listed are past their announced end of life.

How can I get alerted when a new SonarQube CVE is published?

Add SonarQube to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose SonarQube and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is SonarQube secure?

SonarQube is as secure as its patch level. NVD published 0 new SonarQube CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2020-27986?

CVE-2020-27986 is a high SonarQube vulnerability with a CVSS score of 7.5, published Oct 28, 2020. SonarQube 8.4.2.36762 allows remote attackers to discover cleartext SMTP, SVN, and GitLab credentials via the api/settings/values URI. NOTE: reportedly, the vendor's position for SMTP and SVN is "it is the administrator's responsibility to configure it.

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.