The present invention relates to the field of pharmaceutical chemistry, and provides a five- and six-membered aza-aromatic compound, a preparation method therefor, a pharmaceutical composition, and an application. Specifically, the present invention relates to a compound capable of specifically enhancing ubiquitination and degradation of Ras proteins, a preparation method for the compound, a pharmaceutical composition comprising the compound, and an application of the compound in manufacture of medications for prevention or treatment of diseases associated with Ras activity in a living body, particularly an application of the compound in manufacture of medications for prevention or treatment of tumor growth and metastasis.