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
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2020-27986 | 7.5 High | 2020-10-28 | Missing authentication | No |
| 2 | CVE-2024-47911 | 7.2 High | 2024-10-04 | SQL injection | No |
| 3 | CVE-2024-38460 | 6.5 Medium | 2024-06-16 | Security flaw | No |
| 4 | CVE-2019-17579 | 6.1 Medium | 2019-10-14 | Cross-site scripting (XSS) | No |
| 5 | CVE-2020-28002 | 5.3 Medium | 2020-11-02 | Improper authentication | No |
| 6 | CVE-2018-19413 | 4.3 Medium | 2018-12-14 | Information exposure | No |
Each SonarQube CVE explained
1. CVE-2020-27986: Missing authentication
- 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).
2. CVE-2024-47911: SQL injection
- 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.
3. CVE-2024-38460: Security flaw
- 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)
4. CVE-2019-17579: Cross-site scripting (XSS)
- 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)
5. CVE-2020-28002: Improper authentication
- 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.
6. CVE-2018-19413: Information exposure
- 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)
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.
| Release | Released | End of life | Latest | Status |
|---|---|---|---|---|
| SonarQube 26.10 | Oct 12, 2026 | Not announced | 26.10.0.133078 | Supported |
| SonarQube 26.9 | Sep 2, 2026 | Oct 12, 2026 | 26.9.0.129388 | End of life |
| SonarQube 26.8 | Aug 5, 2026 | Sep 2, 2026 | 26.8.0.126808 | End of life |
| SonarQube 26.7 | Jul 8, 2026 | Aug 5, 2026 | 26.7.0.124771 | End of life |
| SonarQube 26.6 | Jun 3, 2026 | Jul 8, 2026 | 26.6.0.123539 | End of life |
| SonarQube 26.5 | May 19, 2026 | Jun 3, 2026 | 26.5.0.122743 | End of life |
| SonarQube 26.4 | Apr 10, 2026 | May 19, 2026 | 26.4.0.121862 | End of life |
| SonarQube 26.3 | Mar 3, 2026 | Apr 10, 2026 | 26.3.0.120487 | End 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
- Never expose management ports or dashboards to the internet without authentication.
- Rotate tokens and credentials, and keep them out of repositories and logs.
- Apply least privilege to pipelines, runners and service accounts.
- Update the tool and its plugins or extensions on a schedule.
- 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.
Related security guides
Few stacks run SonarQube alone. These guides cover the technologies it is most often deployed with.
- Jenkins vulnerabilities: Jenkins is the most widely used open-source CI/CD automation server.
- Java vulnerabilities: Java is the language and runtime behind a large share of enterprise software.
- GitLab vulnerabilities: GitLab is a DevOps platform with Git hosting and CI/CD.
- Apache Airflow vulnerabilities: Apache Airflow is a platform for scheduling and monitoring data workflows.
- Ansible vulnerabilities: Ansible is an agentless IT automation tool.
- Argo CD vulnerabilities: Argo CD is a declarative GitOps continuous delivery tool for Kubernetes.
- GitHub vulnerabilities: GitHub is the largest code hosting platform; GitHub Enterprise Server is its self-hosted edition.
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
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
- endoflife.date: SonarQube (opens in a new tab), release and support dates, checked Nov 3, 2026.
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.