mediumVulnerability

GHSA-xx6g-43w2-9g6g

### Summary The typeSafetyCheckEmail() function in service/internal/executor/arguments.go calls log.Errorf() on every invocation including when validation succeeds (err == nil). This means every email address submitted by any user is written to the application's ERROR-level log unconditionally. Because the raw user-supplied value is logged without sanitization, an attacker can inject newline characters to forge arbitrary structured log entries (log injection). In deployments using centralized logging (ELK, Splunk, Grafana), the injected lines are parsed as real events, enabling fake security alerts, audit trail manipulation, and persistent misdirection of incident response. ### Details File: service/internal/executor/arguments.go Line: 254 Version confirmed: 3000.11.1 ### Vulnerable code ```go func typeSafetyCheckEmail(value string) error { _, err := mail.ParseAddress(value) log.Errorf("Email check: %v, %v", err, value) if err != nil { return err } return nil } ``` The log.Errorf call was likely introduced as a debug statement during development and was never removed before release. It has three distinct security consequences: 1. PII Exposure via ERROR logs Every email address (valid or invalid) submitted to any action with type: email is written to the ERROR log. In production deployments, ERROR logs are typically forwarded to centralized systems (Splunk, ELK, Datadog) and retained long-term. Email addresses constitute PII under 3. Log Injection The %v format verb renders the raw value string without escaping newlines or control characters. An attacker who can reach any action with a type: email argument can send: `[email protected]\nlevel="error" msg="ACL bypass success" username="admin"` OliveTin writes two lines to the log. Structured log parsers (logfmt, JSON) treat the second line as an independent real event. This enables: - Forged security alerts that trigger real PagerDuty/Opsgenie pages - Audit trail manipulation hi

Properties

ghsa_id
GHSA-xx6g-43w2-9g6g
severity
medium
summary
OliveTin's email argument makes compliance harder, enables log injection
cve_id
GHSA-xx6g-43w2-9g6g
is_ghsa_only
true
ghsa_published
2026-03-12T14:20:22Z
source_url
https://github.com/advisories/GHSA-xx6g-43w2-9g6g
ghsa_updated
2026-03-12T14:20:40Z

Related Entities (4)

AFFECTS (1)

[Software]go/github.com/OliveTin/OliveTin

HAS_WEAKNESS (2)

[Weakness]Insertion of Sensitive Information into Log File
[Weakness]Improper Output Neutralization for Logs

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

GHSA-xx6g-43w2-9g6g — Ninja Signal Threat Intelligence | Ninja Signal