Improper Certificate Validation Affecting gitea package, versions <1.26.2-r2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.03% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-GITEA-17036892
  • published29 May 2026
  • disclosed22 May 2026

Introduced: 22 May 2026

NewCVE-2026-39835  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade Chainguard gitea to version 1.26.2-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gitea package and not the gitea package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

SSH servers which use CertChecker as a public key callback without setting IsUserAuthority or IsHostAuthority could be caused to panic by a client presenting a certificate. CertChecker now returns an error instead of panicking when these callbacks are nil.