CVE-2022-46685
Java vulnerability analysis and mitigation

Overview

CVE-2022-46685 affects the Jenkins Gitea Plugin versions 1.4.4 and earlier. The vulnerability was discovered by Asi Greenholts of Cider Security and was publicly disclosed on December 7, 2022. This security issue involves improper handling of Gitea personal access tokens in the plugin's implementation (Jenkins Advisory).

Technical details

The vulnerability is classified with a CVSS v3.1 Base Score of 4.3 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N. The technical issue stems from the plugin's implementation of Gitea personal access tokens, which lacks proper credentials masking functionality (NVD).

Impact

The vulnerability can result in the exposure of Gitea personal access tokens in build logs, particularly when they are printed as part of repository URLs. This exposure of sensitive credentials could potentially lead to unauthorized access to Gitea repositories and resources (Jenkins Advisory).

Exploitability

The vulnerability requires low complexity to exploit and can be triggered when build logs contain repository URLs that include personal access tokens. An attacker would need limited privileges to access the build logs to view the exposed credentials (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Gitea Plugin version 1.4.5, which adds support for masking of Gitea personal access tokens. For administrators unable to update, the recommended workaround is to use SSH checkout instead of personal access tokens (Jenkins Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-10050HIGH8.7
  • Java logoJava
  • spark-kubernetes-operator-fips
NoYesAug 04, 2026
CVE-2026-56818MEDIUM6.5
  • Java logoJava
  • netty-javadoc
NoYesAug 07, 2026
CVE-2026-48047MEDIUM5.9
  • Java logoJava
  • org.xwiki.platform:xwiki-platform-webjars-api
NoYesAug 07, 2026
CVE-2026-53573MEDIUM4.8
  • Java logoJava
  • org.geonetwork-opensource:geonetwork
NoYesJul 31, 2026
CVE-2026-71497MEDIUM4.7
  • Java logoJava
  • jsoup
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management