CVE-2018-18925

    Dashboard / Vulnerabilities / CVE-2018-18925

    CVE-2018-18925

    Published: 4 Nov 2018Last Modified: 7 Aug 2026

    Summary:

    Details: Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a ".." session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    v0.11.66
    v0.11.53
    v0.11.43
    v0.11.34
    v0.11.33
    v0.11.29
    v0.11.19
    v0.11.4
    v0.11

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High