# CVE-2026-142314: Artalk through 2.10.1 Admin Impersonation via Whitespace-Padded Name in Comments

Source: https://aplosec.si/cve/CVE-2026-142314/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142314

Medium 6.9 · Reported · No fix listed · CWE-289 · Go

# Artalk through 2.10.1 Admin Impersonation via Whitespace-Padded Name in Comments

CVE-2026-142314 · published 2026-12-02

In plain words: this type of bug lets someone get past the login or identity check (authentication bypass). No fixed release is listed yet.

## Summary

CVE-2026-142314 affects Artalk (Go) <= 2.10.1: Admin Impersonation via Whitespace-Padded Name in Comments (CWE-289). No fixed release is listed. CVSS 4.0 base score 6.9 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

Artalk through 2.10.1 contains an authentication bypass vulnerability that allows unauthenticated attackers to post comments as the administrator by padding the admin name with whitespace. Attackers can submit the padded name and admin email to POST /api/v2/comments, evading Dao.IsAdminUserByNameEmail while comments are stored under the administrator account and can alter its displayed name.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/artalk-through-2.10.1-admin-impersonation-via-whitespace-padded-name-in-comments](https://www.vulncheck.com/advisories/artalk-through-2.10.1-admin-impersonation-via-whitespace-padded-name-in-comments)

- [Vulnerable codehttps://github.com/ArtalkJS/Artalk/blob/v2.10.1/internal/dao/query_find.go#L263-L274](https://github.com/ArtalkJS/Artalk/blob/v2.10.1/internal/dao/query_find.go#L263-L274)

- [Vulnerable codehttps://github.com/ArtalkJS/Artalk/blob/v2.10.1/internal/dao/query_find_create.go#L62-L77](https://github.com/ArtalkJS/Artalk/blob/v2.10.1/internal/dao/query_find_create.go#L62-L77)

- [Vulnerable codehttps://github.com/ArtalkJS/Artalk/blob/v2.10.1/server/handler/comment_create.go#L180-L233](https://github.com/ArtalkJS/Artalk/blob/v2.10.1/server/handler/comment_create.go#L180-L233)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142314](https://www.cve.org/CVERecord?id=CVE-2026-142314)

**Severity:** Medium 6.9 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142314)

**Package:** Artalk

**Ecosystem:** Go

**Affected:** <= 2.10.1

**Fixed:** None

**Weakness:** CWE-289

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
