CVE-2026-142306: GoatCounter through 2.7.0 CSV Formula Injection via Pageview Export
GoatCounter through 2.7.0 contains a CSV formula injection vulnerability in exportcsv.go that allows remote unauthenticated attackers to store spreadsheet formulas by sending crafted count endpoint requests. Attackers can inject values beginning with =, +, - or @ into page titles, referrers or event paths, which execute when the site owner opens the exported CSV to exfiltrate spreadsheet data.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to the practical impact of this issue?
Site owners or other users who open GoatCounter CSV exports are exposed if attacker-controlled page titles, referrers, or event paths have been recorded. The formula executes when the exported CSV is opened in a spreadsheet application.
Does exploitation require an account or other privileges?
No. An attacker can send crafted requests to the count endpoint without authentication, but must induce storage of values beginning with =, +, -, or @.
How can I check whether collected data may trigger the issue?
Review page titles, referrers, and event paths included in CSV exports for values that begin with =, +, -, or @. Such values can be interpreted as spreadsheet formulas when the CSV is opened.